<?php

namespace LJS\Controller;

/**
 * NewsController 类
 *
 * @since VER:1.0; DATE:2016-6-13; AUTHOR:SoChishun; EMAIL:14507247@qq.com; DESC:Added.
 */
class NewsController extends AppbaseController {
    public function news_list($cid=0){
        $where_list=$cid?array('cid'=>$cid):array();
        $this->assign('where_list',$where_list);
        $this->display();
    }
    function news_detail($id=0){
        $this->assign('id',$id);
        $this->display();
    }
}
